<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%> 
<div id="featured-products_block_center">
	<h4>Sản phẩm mới nhất</h4>
	<ul>
		<s:iterator value="featuredProduct" var="product">
		<li class="ajax_block_product">
			<h5><a class="product_link" href="<s:url action="detail"><s:param name="pid" value="#product.product_id" /></s:url>" title="<s:property value="#product.title"/>"><s:property value="#product.title"/></a></h5>
			<a class="product_image" href="<s:url action="detail"><s:param name="pid" value="#product.product_id" /></s:url>"><img height="120" width="210" src="<s:property value="#product.image_main"/>"></a>
			<div>
				<span class="price"><s:property value="#product.price"/> VNĐ</span>
				<a class="add2cart ajax_add_to_cart_button" href="javascript:;" onclick="ajaxCart.addcart(<s:property value="#product.product_id"/>,1);" title="Add to cart">Thêm vào giỏ</a>
			</div>
		</li>
		</s:iterator>
	</ul>
	</div>
</div>